package com.plian.system.entity.pm.property;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @description:
 * @author: gangan
 * @create: 2020-07-10 21:58
 */
@Data
@TableName("pm_propertychange")
@ApiModel(value = "PropertyChange对象", description = "产权变更记录表")
public class PropertyChange extends BaseProperty{

    /**
     * 关联record表id 上个版本id
     */
    @ApiModelProperty(value = "关联record表id 上个版本id")
    private String proId;

    /**
     * 第一次登记 id
     */
    @TableField(exist = false)
    @ApiModelProperty(value = "第一次登记 id")
    private String initialId;

    /**
     * 变更原因 编码084
     */
    @ApiModelProperty(value = "变更原因", required = true)
    private String changeReason;

    /**
     * 审批时间
     */
    @ApiModelProperty(value = "审批时间")
    private Date approvalDate;

    @ApiModelProperty(value = "数据来源 null为系统填报 对应用户id")
    private String dataSource;

    @ApiModelProperty(value = "数据来源id", required = true)
    private String dataSourceId;
}
